package com.qf.news.service;

import com.github.pagehelper.PageInfo;
import com.qf.news.entity.NewsComment;

public interface NewsCommentService {

    //添加评论信息
    void insert(NewsComment newsComment);

    //根据主键id分页查询评论信息
    PageInfo<NewsComment> findByIdAndPage(Integer page,Integer rows,Long id);

}
